﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using BrickBreaker.Core;

namespace BrickBreaker.Menu
{
    public class BBMenuController
    {
        private BBMenuSystem menu;

        #region OBJECT CONSTRUCTION
        //
        /// <summary>
        /// Creates a menu controller
        /// </summary>
        //Constructor...
        public BBMenuController()
        {
            menu = new BBMenuSystem();
        }
        //
        #endregion OBJECT CONSTRUCTION

        /// <summary>
        /// Loads all the menu's content.
        /// </summary>
        public void LoadContent()
        {
            menu.LoadContent();
        }

        /// <summary>
        /// Updates the menu.
        /// </summary>
        public void Update(GameTime gameTime)
        {
            menu.Update(gameTime);
        }

        /// <summary>
        /// Draws the menu.
        /// </summary>
        public void Draw(SpriteBatch spriteBatch)
        {
            menu.Draw(spriteBatch);
        }

    }//end class
}//end namespace
